package com.sumainfor.pc.gmio.controller.director;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.impl.DiWithdrawalExtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 退租
 * <p>
 *
 * @author: zc
 * @create: 2019-09-21 20:09
 **/
@RestController
@RequestMapping("/director/WithdrawalExt")
public class DiWithdrawalExtController {

    @Autowired
    DiWithdrawalExtService diWithdrawalExtService;


    /**
     * 根据合同编号获取退租详情
     * @author zhoucong
     * @data 2019/9/21
     * @Param
     * @return
     */
    @GetMapping("/getWithdrawalExt")
    public JsonResult getWithdrawalExt(@RequestParam String PaId){
        return diWithdrawalExtService.getWithdrawalExt(PaId);
    }
}
